import axiosInstance from './axiosConfig';

export const authLogin = (username: string, password: string) => {
    return axiosInstance.post('/oa/auth/login.json', { username, password });
};

export const authRegister = (username: string, password: string) => {
    return axiosInstance.post('/oa/auth/register.json', { username, password });
};

export const authQuery = (username: string, password: string) => {
    return axiosInstance.post('/oa/auth/query.json', { username });
};
